# -*- coding:utf-8 -*-
# @FileName  :settings.py
# @Time      :2020-10-25 14:31
# @Author    :zhoujirong

import os

BASE_PATH = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))

LOG_FILE = os.path.join(BASE_PATH,'logs','cqs.log') #日志文件

REPORT_PATH = os.path.join(BASE_PATH,'report') #报告存放的目录

CASE_PATH = os.path.join(BASE_PATH,'biz','cases') #测试用例的目录

CASE_DATA_PATH = os.path.join(BASE_PATH,'biz','data') #测试数据的目录

CONFIG_FILE = os.path.join(BASE_PATH,'conf','config.ini') #配置文件的目录

PICTURES_DATA_PATH = os.path.join(CASE_DATA_PATH,'pictures') #图片路径

DOWNLOAD_DATA_PATH = os.path.join(BASE_PATH,'download_data') #下载文件存放路径

LOG_LEVEL = 'INFO' #默认日志级别

DB_TYPE = 'oracle' #数据库类型


mail_template = '''
各位好！
    本次测试共运行%s条用例，通过%s条，失败%s条，运行错误%s条，具体情况请查看附件。
'''

if __name__ == "__main__":
    pass
